package Module;

import LiftEngine.Lift;
import Server.ClientList;

/**
 *
 * Class description goes here.
 *
 * @author Kamil Gajowy
 * @extended test
 */
public class Module {

    private int moduleCode;
    private ClientList cList;
    private Lift liftRef;

    /**
    * Default constructor.
     * @param lift
     * @param moduleType 
     */
    public Module(Lift lift, int moduleType){
        this.liftRef = lift;
        this.moduleCode = moduleType;
        this.cList = new ClientList();
    }

    /**
     * @return the cList
     */
    public ClientList getcList() {
        return cList;
    }

    /**
     * @param cList the cList to set
     */
    public void setcList(ClientList cList) {
        this.cList = cList;
    }

    /**
     * @return the liftRef
     */
    public Lift getLiftRef() {
        return liftRef;
    }

    /**
     * @return the moduleCode
     */
    public int getModuleCode() {
        return moduleCode;
    }


}//end class
